package com.heima.article.service.impl;

import com.heima.article.service.ArticleInfoService;
import com.heima.model.article.dtos.ArticleInfoDto;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.common.enums.AppHttpCodeEnum;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class ArticleInfoServiceImpl implements ArticleInfoService {
    @Override
    public ResponseResult loadArticleInfo(ArticleInfoDto dto) {
        //检查参数
        if (dto ==null ||dto.getArticleId()==null) {
            return ResponseResult.errorResult(AppHttpCodeEnum.PARAM_INVALID);
        }





        return null;
    }
}
